Ext.regModel('planFactModel',{
	idProperty: 'id',
    fields: [
		{name: 'id',  type: 'int'},
		{name: 'FKDAT',  type: 'date'}, //Fecha Facturacion
        {name: 'AFDAT',  type: 'date'}, //Fecha Facturacion
        {name: 'TETXT', type: 'string'}, //Denominacion
        {name: 'FPROZ', type: 'float'}, //Porcentaje
        {name: 'FAKWR', type: 'float'}, //porcentaje del Total
        {name: 'WAERS', type: 'string'}, //Moneda
        {name: 'FAKSP', type: 'string'}, //Bloqueo
		{name: 'FAREG', type: 'string'}, //RglF
        {name: 'FKSAF', type: 'string'}, //Status
        {name: 'ZTERM', type: 'string'}, //Cpag
		{name: 'FPTTP', type: 'string'}, //CatF
        {name: 'FKARV', type: 'string'}, //ClaseFact
        {name: 'FPLTR', type: 'string'}, //Posicion
        {name: 'FPFIX', type: 'string'}, //
        {name: 'KURFP', type: 'float'}, //
        {name: 'PERIO', type: 'string'}, //
        {name: 'FPLAE', type: 'string'}, //
        {name: 'MLSTN', type: 'string'}, //Nro Hito
        {name: 'MLBEZ', type: 'string'}, //
        {name: 'ZTERM', type: 'string'}, //
        {name: 'KUNRG', type: 'string'}, //
        {name: 'TAXK1', type: 'string'}, //
        {name: 'TAXK2', type: 'string'}, //
        {name: 'TAXK3', type: 'string'}, //
        {name: 'TAXK4', type: 'string'}, //
        {name: 'TAXK5', type: 'string'}, //
        {name: 'TAXK6', type: 'string'}, //
        {name: 'TAXK7', type: 'string'}, //
        {name: 'TAXK8', type: 'string'}, //
        {name: 'TAXK9', type: 'string'}, //
        {name: 'VALTG', type: 'string'}, //
        {name: 'VALDT', type: 'date'}, //
        {name: 'NFDAT', type: 'date'}, //
        {name: 'TEMAN', type: 'string'}, //
        {name: 'FAKCA', type: 'string'}, //
        {name: 'NETWR', type: 'float'}, //
        {name: 'NETPR', type: 'float'}, //
        {name: 'WAVWR', type: 'float'}, //
        {name: 'KZWI1', type: 'float'}, //
        {name: 'KZWI2', type: 'float'}, //
        {name: 'KZWI3', type: 'float'}, //
        {name: 'KZWI4', type: 'float'}, //
        {name: 'KZWI5', type: 'float'}, //
        {name: 'KZWI6', type: 'float'}, //
        {name: 'CMPRE', type: 'float'}, //
        {name: 'SKFBP', type: 'float'}, //
        {name: 'BONBA', type: 'float'}, //
        {name: 'PRSOK', type: 'string'}, //
        {name: 'TYPZM', type: 'string'}, //
        {name: 'CMPRE_FLT', type: 'float'}, //
        {name: 'UELNR', type: 'string'}, //
        {name: 'UELTR', type: 'string'}, //
        {name: 'KURRF', type: 'float'}, //
        {name: 'CCACT', type: 'string'}, //
        {name: 'KORTE', type: 'string'}, //
        {name: 'OFKDAT', type: 'date'}, //
        {name: 'FPLNR', type: 'string'}
    ],

        proxy:
	{
	    type: 'localstorage',
	    id: 'planFactStore'
	}
});